import request from '@/utils/request' // 引入axios的封装方法
import cfg from '@/config/config'

const approverConfigApi = {
  // 获取主表格数据 approverConfig
  getApproveConfigInfo: param => {
    return request('post', cfg.apiUrl + 'api/visitor/getApproveConfigInfo', param)
  },
  // 根据工号查询员工信息 approverConfig
  getInfoByUserNo: param => {
    return request('post', cfg.apiUrl + 'api/visitor/getInfoByUserNo', param)
  },
  // 新增修改审批人 approverConfig
  addOrUpdateApproveConfig: param => {
    return request('post', cfg.apiUrl + 'api/visitor/addOrUpdateApproveConfig', param)
  },
  // 删除人员 approverConfig
  delApproveConfig: param => {
    return request('post', cfg.apiUrl + 'api/visitor/delApproveConfig', param)
  },


}
export default approverConfigApi



